<?php $this->pageTitle = '简历管理'; ?>
<!-- h2 stays for breadcrumbs -->
<h2><a href="#">后台管理</a> &raquo; <a href="#" class="active"><?php __('简历');?></a></h2>
<div id="main">
<div class="resumes index">
<p>
<?php echo $paginator->counter(array('format' => '第 %page% 页，共 %pages% 页, 显示当前 %current% 记录，共有 %count% 记录, 开始于 %start%, 结束于 %end%')); ?>
</p>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $paginator->sort('ID', 'id');?></th>
	<th><?php echo $paginator->sort('用户', 'user_id');?></th>
	<th><?php echo $paginator->sort('姓名', 'name');?></th>
	<th><?php echo $paginator->sort('学历', 'education');?></th>
	<th><?php echo $paginator->sort('学位', 'degree');?></th>
	<th><?php echo $paginator->sort('性别', 'sex');?></th>
	<th><?php echo $paginator->sort('籍贯', 'nation');?></th>
	<th><?php echo $paginator->sort('政治面貌', 'political');?></th>
	<th><?php echo $paginator->sort('生日', 'birthday');?></th>
	<th><?php echo $paginator->sort('专业', 'speciality');?></th>
	<th><?php echo $paginator->sort('身高', 'stature');?></th>
	<th><?php echo $paginator->sort('健康', 'health');?></th>
	<th><?php echo $paginator->sort('地点', 'seat');?></th>
	<th><?php echo $paginator->sort('照片', 'photo');?></th>
	<th><?php echo $paginator->sort('教育经历', 'edu_exper');?></th>
	<th><?php echo $paginator->sort('主修', 'major_courses');?></th>
	<th><?php echo $paginator->sort('专业水平', 'expert_level');?></th>
	<th><?php echo $paginator->sort('语言能力', 'verbal_ability');?></th>
	<th><?php echo $paginator->sort('培训经历', 'train_exper');?></th>
	<th><?php echo $paginator->sort('工作经历', 'work_exper');?></th>
	<th><?php echo $paginator->sort('创建时间', 'created');?></th>
	<th><?php echo $paginator->sort('修改时间', 'modified');?></th>
	<th class="actions"><?php __('操作');?></th>
</tr>
<?php
$i = 0;
foreach ($resumes as $resume):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $resume['Resume']['id']; ?>
		</td>
		<td>
			<?php echo $html->link($resume['User']['id'], array('controller' => 'users', 'action' => 'view', $resume['User']['id'])); ?>
		</td>
		<td>
			<?php echo $resume['Resume']['name']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['education']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['degree']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['sex']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['nation']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['political']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['birthday']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['speciality']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['stature']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['health']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['seat']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['photo']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['edu_exper']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['major_courses']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['expert_level']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['verbal_ability']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['train_exper']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['work_exper']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['created']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['modified']; ?>
		</td>
		<td class="action">
			<?php echo $html->link(__('View', true), array('action' => 'view', $resume['Resume']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('action' => 'edit', $resume['Resume']['id'])); ?>
			<?php echo $html->link(__('Delete', true), array('action' => 'delete', $resume['Resume']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $resume['Resume']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
	<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers();?>
	<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('New Resume', true), array('action' => 'add')); ?></li>
		<li><?php echo $html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
</div>
